package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.entity.AwardCaseEntity;
import com.entity.vo.AwardCaseVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author mgl
 * @version 1.0
 * @description: 获奖情况 持久层
 * @date 2024/4/10 14:52
 */
@Mapper
@Repository
public interface AwardCaseDao extends BaseMapper<AwardCaseEntity> {
    List<AwardCaseVo> selectAllMap(Map<String,Object> map);
    List<AwardCaseVo> selectAll();

    List<AwardCaseVo> selectListById(Integer id);

    List<AwardCaseVo> selectListByStudentIdMap(Integer studentId, Map<String,Object> map);
    List<AwardCaseVo> selectListByStudentId(Integer studentId);

    List<AwardCaseVo> selectListModified(Map<String,Object> map);
}
